{{#each p in periods}}
  {{#d-button action="changePeriod" actionParam=p}}
    {{period-title p}}
  {{/d-button}}
{{/each}}
